package com.yangxk.kadmin.web.module.system.form;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Getter
@Setter
public class DeptForm {

    private Long id;

    @NotNull(message = "父节点不能为空")
    private Long parentId;

    @NotBlank(message = "部门名称不能为空")
    private String deptName;

    @NotBlank(message = "状态不能为空")
    private String state;

    @Size(max = 200, message = "最大字数为200")
    private String remark;

    private int seq;
}
